package com.kgc.sbt.domain;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * goods
 * @author Shan
 */
@Data   
@ApiModel(value = "商品信息自定义",description = "自定义输出信息")
public class GoodsFroms implements Serializable {
    /**
     * 商品id
     */
    @ApiModelProperty(value = "商品id")
    private Integer id;

    /**
     * 分类编号名称
     */
    @ApiModelProperty(value = "分类编号名称",name = "cname")
    private String cName;

    /**
     * 品牌编号名称
     */
    @ApiModelProperty(value = "品牌编号名称",name = "bname")
    private String bName;

    /**
     * 商品名称
     */
    @ApiModelProperty(value = "商品名称")
    private String name;

    /**
     * 关键词
     */
    @ApiModelProperty(value = "关键词")
    private String keyword;

    /**
     * 主图
     */
    @ApiModelProperty(value = "主图")
    private String picMain;

    /**
     * 附图
     */
    @ApiModelProperty(value = "附图")
    private String picOther;

    /**
     * 价格
     */
    @ApiModelProperty(value = "价格")
    private BigDecimal price;

    /**
     * 详情
     */
    @ApiModelProperty(value = "详情")
    private String content;

    /**
     * 描述
     */
    @ApiModelProperty(value = "描述")
    private String description;

    /**
     * 库存
     */
    @ApiModelProperty(value = "库存")
    private Integer stock;

    /**
     * 状态
     */
    @ApiModelProperty(value = "状态")
    private Integer status;

    /**
     * 销量计数
     */
    @ApiModelProperty(value = "销量计数")
    private Integer sellCount;

    /**
     * 上架时间
     */
    @ApiModelProperty(value = "上架时间")
    private Date launchTime;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;



    private static final long serialVersionUID = 1L;
}